package com.wanmait.gohome.mapper;

import com.wanmait.gohome.pojo.Area;

import java.util.List;

public interface AreaMapper {
    int deleteByPrimaryKey(Integer areaId);

    int insert(Area record);

    int insertSelective(Area record);

    Area selectByPrimaryKey(Integer areaId);

    int updateByPrimaryKeySelective(Area record);

    int updateByPrimaryKey(Area record);

    List<Area> findAll();//徐金鹏省市联动查询所有
    List<Area> findAllCities(Integer id);//徐金鹏省id查询所有市

    /**
     * 志愿者/用户省市联动
     * @return
     */
    List<Area> volunteerFindAll();
}